package 
{
	import flash.events.EventDispatcher;
	import flash.external.ExtensionContext;
	public class ane extends EventDispatcher
	{
		private static var context:ExtensionContext = null;
		public function ane ()
		{
			super();
			try {
				if(context==null){
					context= ExtensionContext.createExtensionContext("libiao.ane","");
				}
			}catch(e:Error){trace(e);}
		}

		public function call_system(s:String):String
		{
			if(context) return String(context.call("test",s));
			return null;
		}
	}
}
